<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>龙蛙</title>

    <link rel="shortcut icon" href="/favicon.ico">
    <link href="/web/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/web/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <!-- jqgrid-->
    <link href="/web/css/plugins/jqgrid/ui.jqgridffe4.css?0820"
          rel="stylesheet">

    <link href="/web/css/animate.min.css" rel="stylesheet">
    <link href="/web/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="/web/css/plugins/toastr/toastr.min.css" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <div class="clients-list">
                        <ul class="nav nav-tabs">
                            <li class="active"><a data-toggle="tab" href="#tab-1"><i class="fa fa-user"></i>通用信息</a>
                            </li>
                            <li class=""><a data-toggle="tab" href="#tab-2"><i class="fa fa-briefcase"></i>口味</a></li>
                        </ul>
                        <div class="tab-content">
                            <div id="tab-1" class="tab-pane active">
                                <form id="ajaxform" class="form-horizontal" role="form" style="margin-top:20px;">
                                    <!--<div class="form-group">-->
                                    <!--<label class="col-sm-2 control-label">门店：</label>-->
                                    <!--<div class="col-sm-7">-->
                                    <!--<select class="form-control companyId" id="companyId">-->
                                    <!--</select>-->
                                    <!--</div>-->
                                    <!--<div class="col-sm-3"></div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">菜名：</label>
                                        <div class="col-sm-7">
                                            <input type="text" name="name" id="name" class="form-control" required=""
                                                   aria-required="true" maxlength="20" minlength="1">
                                        </div>
                                        <div class="col-sm-3"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">价格（元）：</label>
                                        <div class="col-sm-7">
                                            <input type="text" name="price" id="price" class="form-control number"
                                                   required="" aria-required="true" maxlength="10" minlength="1">
                                        </div>
                                        <div class="col-sm-3"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">描述：</label>
                                        <div class="col-sm-7">
                                            <input type="text" name="remark" id="remark" class="form-control"
                                                   required=""
                                                   aria-required="true" maxlength="30" minlength="1">
                                        </div>
                                        <div class="col-sm-3"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">菜品分类：</label>
                                        <div class="col-sm-4">
                                            <select class="form-control" id="categoryId" required="">
                                            </select>
                                        </div>
                                        <div class="col-sm-1">
                                            <button class="btn btn-primary btn-lg" data-toggle="modal"
                                                    data-target="#myModal">
                                                +
                                            </button>
                                            <!-- 模态框（Modal） -->
                                            <div class="modal fade" id="myModal" tabindex="-1" role="dialog"
                                                 aria-labelledby="myModalLabel" aria-hidden="true">
                                                <div class="modal-dialog">
                                                    <div class="modal-content">
                                                        <div class="modal-header">
                                                            <button type="button" class="close" data-dismiss="modal"
                                                                    aria-hidden="true">
                                                                &times;
                                                            </button>
                                                            <h4 class="modal-title" id="myModalLabel">
                                                                添加菜品分类
                                                            </h4>
                                                        </div>
                                                        <div class="modal-body">
                                                            <div class="row">
                                                                <label>菜品分类：<input type="text" name="name"
                                                                                   id="tag_name" required=""></label>
                                                            </div>
                                                            <div class="row">
                                                                <label>分类备注：<input type="text" name="remark"
                                                                                   id="tag_remark"></label>
                                                            </div>
                                                        </div>
                                                        <div class="modal-footer">
                                                            <button type="button" class="btn btn-default"
                                                                    data-dismiss="modal">
                                                                关闭
                                                            </button>
                                                            <button type="button" class="btn btn-primary"
                                                                    id="createDishTag">
                                                                提交更改
                                                            </button>
                                                        </div>
                                                    </div><!-- /.modal-content -->
                                                </div><!-- /.modal -->
                                            </div>
                                        </div>
                                        <div class="col-sm-5"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">图片路径：
                                            <br/>
                                            <small class="text-navy">图片尺寸·600*600</small>
                                        </label>
                                        <div class="col-sm-4">
                                            <input type="text" name="thum" id="thum"
                                                   class="form-control thum" required="" aria-required="true"
                                                   maxlength="100" minlength="1">
                                        </div>
                                        <div class="col-sm-1">
                                            <div class="id_img bod">
                                                <input type="hidden" name="imgIdBack"/>
                                                <div class="weui-uploader__input-box">
                                                    <input class="weui-uploader__input" type="file" id="file2"
                                                           accept="image/png, image/jpeg, image/jpg, image/gif">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-5"></div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-2"></div>
                                        <div class="col-sm-7">
                                            <div class="dish_img">
                                            </div>
                                            <div class="col-sm-3"></div>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-4"></div>
                                        <button id="submitForSave" class="btn btn-primary col-sm-1">保存</button>
                                        <div class="col-sm-2"></div>
                                        <button class="btn btn-primary col-sm-1 buttonGoback">返回</button>
                                        <div class="col-sm-4"></div>
                                    </div>
                                </form>
                            </div>
                            <div id="tab-2" class="tab-pane">
                                <form id="form" class="form-horizontal" role="form" style="margin-top:20px;">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">口味：</label>
                                        <div class="col-sm-4">
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>中辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>特辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>微辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>麻辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>变态辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="0"/>
                                                <small>不辣</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="1"/>
                                                <small>不要葱</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="2"/>
                                                <small>不要姜</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="3"/>
                                                <small>不要蒜</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="4"/>
                                                <small>少盐</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="4"/>
                                                <small>多盐</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="5"/>
                                                <small>多醋</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="5"/>
                                                <small>少醋</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="6"/>
                                                <small>少糖</small>
                                            </label>
                                            <label>
                                                <input name="flavor" class="rt-hb" type="checkbox" value="6"/>
                                                <small>多糖</small>
                                            </label>
                                        </div>
                                        <div class="col-sm-6"></div>

                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">备注：</label>
                                        <div class="col-sm-7">
                                            <input type="text" name="name" id="flavorRemark" class="form-control"
                                                   aria-required="true" maxlength="20" minlength="1">
                                        </div>
                                        <div class="col-sm-3"></div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-4"></div>
                                        <button id="submitSave" class="btn btn-primary col-sm-1">保存</button>
                                        <div class="col-sm-2"></div>
                                        <button class="btn btn-primary col-sm-1 buttonGoback">返回</button>
                                        <div class="col-sm-4"></div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
<script src="js/lrz.all.bundle.js"></script>
<script src="js/jquery.form.js?v=3.51"></script>
<script src="js/plugins/validate/jquery.validate.min.js"></script>
<script src="js/plugins/validate/messages_zh.min.js"></script>
<script src="/web/js/plugins/peity/jquery.peity.min.js"></script>
<script src="/web/js/plugins/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
<script src="/web/js/plugins/jqgrid/jquery.jqGrid.minffe4.js?0820"></script>
<script src="/web/js/content.min.js?v=1.0.0"></script>
<script src="/web/js/plugins/toastr/toastr.min.js"></script>
<script src="js/layer/layer.js"></script>
<script src="/web/js/self/dc_dish_create.js?v=1.0.0"></script>
</body>
</html>
